package com.wxb.aop.service.impl;

import com.wxb.aop.annonation.Point;
import com.wxb.aop.service.EatFood;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * describe:
 *
 * @author : 王校兵
 * @version : v1.0
 * @time : 2017-10-17 16:53
 */
@Service
public class FastEatFoodImpl implements EatFood {

    @Override
    @Point
    public String eat(String food, Date time) {
        return "fast eat" + food + ", use time :" + time.toString();
    }

}
